All Questions
Tagged with angularjs-directivejson
120 questions
0votes
1answer
127views
Angular JSON data returning undefined (ERROR TypeError) during onInit and afterViewInit
I'm new to Angular and I have a JSON data of categories and subcategories that I get in my navbar component. I have a dropdown categorydetail component that accepts a Category object and the ...
0votes
1answer
24views
How can i get Json Data if its having in particular Name
Here im having data Like ""{\"resultStatus\":\"success\",\"message\":\"AUTH-040010: Successfully logout user\",\"language\":\"en\",\"region\":\"us\",\"securityToken\":\"C29F32A5-CF46-4CE8-B1DF-...
0votes
0answers
266views
Angular Slick not starting (using JSON Data)
Guys AngularJS newbie here. I'm trying to aply Angular Slick to my Div. I have fetching the image from SQL to JSON (succeeded). Its only display as static image, slideshow not starting. Any mistake ...
0votes
2answers
63views
Angular binding variable not being set from $http scope
Im new to angular and I'm trying to create a simple Signup Form which posts to a database (in json). If the database write is successful, "this.msg" is set to "Post Data Submitted Successfully!" If ...
1vote
2answers
62views
How can I use ng-repeat to iterate through arrays associated using dynamic keys
I am trying to use ng-repeat to iterate through an array of objects and use each objects ID to look up the data binded to a checklist model. I have the following javascript object in a project I'm ...
0votes
2answers
78views
Angular customer directive with filter and sort
I need to sort the json object with one of the userType thru ng-repeat. Now i was able to retrieve and display the data, and ISSUE is that I need to sort and display two different table the below list;...
2votes
0answers
130views
how to get json data in suggestion using type-ahead in angularjs
I am new in angular.js, I am creating a suggestion box for my form using typeahead directive referring this example, but my data is coming from json file (webservice call). I am getting an error on ...
-2votes
1answer
503views
switch language in agularjs 1.4.9 [closed]
i want to select language from dropdown list and also need to select default language. below is the link where i found the code but it is switching a language with buttons. http://embed.plnkr.co/...
2votes
0answers
474views
Generating forms dynamically using json schema with angularjs
I have a json schema which is something like below: var schema = { "type": "object", "properties": { "requestedFor": { "type": "string" }, "location": { ...
0votes
3answers
547views
AngularJs not rendering value
I am new to AngularJS and need to use AngularJs to render my MVC controller Json output. Below is my MVC Controller that output Json: [HttpGet] public JsonResult GetAllData() { ...
0votes
1answer
43views
$watch on directive with isolated scope for nested object as property from crossfilter
I have created a directive with isolated scope, element, and am using those values passed in to build d3/dc charts. So I have some data that is put through crossfilter on the $scope, so that the ...
0votes
1answer
117views
AngularJS custom filter for two columns
i have a select-box with option1 and option2; i have a table with column1, column2, column3, column4. Column2 and column3 are numeric fields. 1) i want that i selected option1 in select-box, the ...
0votes
3answers
904views
how to make $http.get Url dynamic in angularjs
Can we make dynamic url like whenever we select a value from first drop down the url should be http://api.fixer.io/latest?base=value. It means when we select value(USD) in first drop down the same ...
-1votes
2answers
828views
how to select few json values in drop down in angularjs
i am getting a data from json file and the values using in dropdown but i dont want to use all values,I want to select only three values in my dropdown.
0votes
1answer
342views
Call AngularJS directive from controller on click
Quick question, so I'm using tg-dynamic-directive to loop through a json file and output following tree. (See image attached) So the problem is, when the "tree" gets very long there are some serious ...